package io.aircraft.modules.job.task;

import io.aircraft.modules.wms.service.StockService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
/**
 * 库存解冻4H（定时）
 */
@Component("unfreezeTask")
public class UnfreezeTask implements ITask {
    @Autowired
    private StockService stockService;

    @Override
    public void run(String params) {
        stockService.unfreezeStockByTime();
    }
}
